<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<title>编辑任务- 外咖APP任务发布平台</title>
		<link rel="shortcut icon" href="/static/img/favicon.ico" type="image/x-icon" />
		<link rel="stylesheet" href="/static/umeditor/themes/default/css/umeditor.css">
		<link rel="stylesheet" href="/static/layui/css/layui.css" />
		<link rel="stylesheet" href="/static/css/task.css" />
	</head>

	<body>
		<div id="page-title">
			编辑任务
		</div>
		<hr />
		<div class="layui-container layui-form body-form" style="width: 80%;margin: 0px auto;padding: 40px;">
			<div class="layui-form-item">
				<div class="layui-inline">
					<div class="layui-form-label">任务名称：</div>
					<div class="layui-input-block">
						<input type="text" class="layui-input" placeholder="请输入任务名称" />
					</div>
				</div>
				<div class="layui-inline">
					<div class="layui-form-label">任务类型：</div>
					<div class="layui-input-block">
						<select>
							<option>请选择任务类型</option>
							<option>推广任务</option>
							<option>文章写手</option>
						</select>
					</div>
				</div>
			</div>
			<br />
			<div class="layui-form-item">
				<div class="layui-inline">
					<div class="layui-form-label">截止时间：</div>
					<div class="layui-input-block">
						<input type="text" class="layui-input" lay-verify="required|date" id="end-date" />
					</div>
				</div>
				<div class="layui-inline">
					<div class="layui-form-label">任务附件：</div>
					<div class="layui-input-block">
						<input type="file" id="enclosure-upload" />
					</div>
				</div>
			</div>
			<br />
			<div class="layui-form-item">
				<div class="layui-form-label">任务备注：</div>
				<div class="layui-input-block">
					<textarea class="layui-textarea" id="desc" placeholder="请输入备注信息"></textarea>
				</div>
			</div>
			<br />
			<div class="layui-form-item">
				<fieldset class="layui-elem-field">
					<legend id="content-title">任务内容</legend>
					<div class="layui-field-box">
						<script type="text/plain" id="contentEditor" style="width: 100%;"></script>
					</div>
				</fieldset>
			</div>
			<br />
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" lay-submit lay-filter="saveTask">提交审核</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</div>

		<script type="text/javascript" src="/static/umeditor/third-party/jquery.min.js"></script>
		<script type="text/javascript" src="/static/umeditor/third-party/template.min.js"></script>
		<script type="text/javascript" src="/static/umeditor/umeditor.config.js"></script>
		<script type="text/javascript" src="/static/umeditor/umeditor.min.js"></script>
		<script type="text/javascript" src="/static/umeditor/lang/zh-cn/zh-cn.js"></script>
		<script type="text/javascript" src="/static/layui/layui.all.js"></script>
		<script type="text/javascript" src="/static/js/editTask.js"></script>
	</body>

</html>